package com.redare.dev.smart.generator.service.provider.filetype;

import org.jetbrains.annotations.NonNls;
import org.jetbrains.annotations.NotNull;

import javax.swing.*;

public class JsFileType extends LanguageFileType {

    @NonNls
    public static final String DEFAULT_EXTENSION = "js";
    @NonNls
    public static final String DOT_DEFAULT_EXTENSION = ".js";
    public static final JsFileType INSTANCE = new JsFileType();


    @Override
    @NotNull
    public String getName() {
        return "JavaScript";
    }

    @Override
    @NotNull
    public String getDescription() {
        return "JavaScript files";
    }

    @Override
    @NotNull
    public String getDefaultExtension() {
        return "js";
    }

    @Override
    public Icon getIcon() {
        return null;
    }

}
